﻿/********************************************************************************************
 * 文件名称:	ListItemInfo.cs
 * 设计人员:	严(yanxianghui@gmail.com)
 * 设计时间:	2009-03-16
 * 功能描述:	影评
 * 注意事项:	
 * 版权所有:	Copyright (c) 2009, Fujian SIRC
 * 修改记录: 	修改时间		人员		修改备注
 *				    ----------		------		-------------------------------------------------
 *
 ********************************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using Shanfree.Framework.Utility;

namespace Shanfree.SharpMovie.Model
{
    /// <summary>
    /// 影评
    /// </summary>
    [Persistence(IsPrimaryKey = false, ColumnName = "ListItem", ExtendName = "V_ListItem")]
    public class ListItemInfo
    {
        string _id = string.Empty;
        /// <summary>
        /// 主键
        /// </summary>
        [Persistence(IsPrimaryKey = true, ColumnName = "ID")]
        public String ID
        {
            get
            {
                return _id;
            }
            set
            {
                _id = value;
            }
        }

        string _remark = string.Empty;
        /// <summary>
        /// 评论
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "Remark")]
        public string Remark
        {
            get
            {
                return _remark;
            }
            set
            {
                _remark = value;
            }
        }

        string _listID = string.Empty;
        /// <summary>
        /// 豆列主键
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "ListID")]
        public string ListID
        {
            get
            {
                return _listID;
            }
            set
            {
                _listID = value;
            }
        }

        string _movieID = string.Empty;
        /// <summary>
        /// 影片主键
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "MovieID")]
        public string MovieID
        {
            get
            {
                return _movieID;
            }
            set
            {
                _movieID = value;
            }
        }

        DateTime _createTime = DateTime.Now;
        /// <summary>
        /// 影片主键
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "CreateTime")]
        public DateTime CreateTime
        {
            get
            {
                return _createTime;
            }
            set
            {
                _createTime = value;
            }
        }

        int _sortIndex = 0;
        /// <summary>
        /// 排序号
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "SortIndex")]
        public int SortIndex
        {
            get
            {
                return _sortIndex;
            }
            set
            {
                _sortIndex = value;
            }
        }

        string _movieName = string.Empty;
        /// <summary>
        /// 电影名称
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "MovieName", IsExtend = true)]
        public string MovieName
        {
            get
            {
                return _movieName;
            }
            set
            {
                _movieName = value;
            }
        }

        string _userName = string.Empty;
        /// <summary>
        /// 电影名称
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "UserName", IsExtend = true)]
        public string UserName
        {
            get
            {
                return _userName;
            }
            set
            {
                _userName = value;
            }
        }

        string _imdb = string.Empty;
        /// <summary>
        /// 电影名称
        /// </summary>
        [Persistence(IsPrimaryKey = false, ColumnName = "IMDB_ID", IsExtend = true)]
        public string IMDB_ID
        {
            get
            {
                return _imdb;
            }
            set
            {
                _imdb = value;
            }
        }
    }
}
